  <div class="question-set-item">

    <div class="question-set-item-side">
      <span class="question-set-item-seq">
      {% if item.parentId %}
        {{ itemSet.items[item.parentId].seq ~ '.' ~ item.seq }}  
      {% else %}
        {{ item.seq }}
      {% endif %}
      </span>
      {% if item.score > 0 %}
        <span class="question-set-item-score">{{ item.score }}</span>
      {% endif %}
    </div>

    <div class="question-set-item-main">
      {% set question = item.question %}
      {% set itemResult = item.itemResult|default(null) %}
      {% if questionStatus == 'previewing' %}{% set questionStatus = 'doing' %}{% endif %}
      {% if question %}
      {% include 'TopxiaWebBundle:Question:question-' ~ question.type ~ '-' ~ questionStatus ~ '.html.twig' %}


        {% if questionStatus == 'finished' %}
          <div class="homework-question-actions text-right">
            {% include 'TopxiaWebBundle:Question:question-actions.html.twig' with { flags:['favorite', 'analysis'] } %}
          </div>
          <div class="homework-question-analysis well editor-text" style="display:none;">{{ item.question.analysis|default('无解析')|bbCode2Html|raw }}
          </div>
        {% endif %}

      {% else %}
      此题已删除。
      {% endif %}
    </div>

  </div>